/**
 * @filename: MatchSink.java 2020年1月8日
 * @project match-engine  V1.0
 * Copyright(c) 2020 flying-cattle Co. Ltd. 
 * All right reserved. 
 */
package com.service.business.rabbitmq.binding;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

/**
 * @ClassName: MatchSink
 * @Description: TODO(定义管道)
 * @author flying-cattle
 * @date 2020年1月8日
 */
public interface PointsOrderSink {
	
	//发送队列1
    String OUT_PAY_POINTS_ORDER = "out-pay-point-order";

    //接收队列1
    String IN_PAY_POINTS_ORDER = "in-pay-point-order";

    @Output(PointsOrderSink.OUT_PAY_POINTS_ORDER)
    MessageChannel outPayPointsOrder();

    @Input(PointsOrderSink.IN_PAY_POINTS_ORDER)
    SubscribableChannel inPayPointsOrder();

}
